package com.example.day04.exercise;

import java.util.Date;

public class TestdCustomer {
    public static void main(String[] args) {

        Ord ord1=new Ord(1,11,12.3,new Date());
        Ord ord2=new Ord(2,22,22.3,new Date());
        Ord ord3=new Ord(3,33,32.3,new Date());
        Ord ord4=new Ord(4,44,42.3,new Date());
        Ord ord5=new Ord(5,55,52.3,new Date());

        Customer customer=new Customer();
        customer.addorder(ord1);
        customer.addorder(ord2);
        customer.addorder(ord3);
        customer.addorder(ord4);
        customer.addorder(ord5);
        System.out.println("全部订单信息：");
        customer.showorderarr();

        customer.delno(11);
        System.out.println("查看删除订单：");
        customer.showarr();

        System.out.println("查看剩下那些订单");
        customer.showorderarr();

    }
}
